←Select platform

GetValue<T>(long,T,out T) Method

Summary

Returns the value of a DICOM element

Syntax

C#
VB
C++
public DicomDataSet GetValue<T>( 
   long tag, 
   T defaultValue, 
   out T value 
) 
Public Overloads Function GetValue(Of T)( _ 
   ByVal tag As Long, _ 
   ByVal defaultValue As T, _ 
   ByRef value As T _ 
) As Leadtools.Dicom.DicomDataSet 
public: 
Leadtools.Dicom.DicomDataSet^ GetValuegeneric<typename T> 
(  
   int64 tag, 
   T^ defaultValue, 
   [Out] T^ value 
)  

Parameters

tag
tag of the item to find.

defaultValue
a value of type T that is returned if the actual value cannot be retrieved.

value
reference to an object that will be updated with the value.

Type Parameters

T
specifies the type of the value to return

Return Value

a reference to the DicomDataSet

Remarks

For information on this method, see GetValue.

Example

For an example, refer to DicomDataSet.GetValue{T}(DicomElement, T)

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly